package com.nsapi.niceschoolapi.service;

import com.nsapi.niceschoolapi.entity.PoliticsTypeDB;
import com.nsapi.niceschoolapi.entity.Role;

import java.util.List;


public interface PoliticsService {

    //查询所有政治面貌信息
    public List<PoliticsTypeDB> politicsList();


    //按角色名称查询信息
    public Role getRoleByName(String name);


}
